package com.xuelang.pipeline.artifact.app.nexus3v1.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xiwen.zxg
 * @since 2024/7/16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeleteRepositoryFolderRequest {

    private String action = "coreui_Component";
    private String method = "deleteFolder";
    private String type = "rpc";
    private int tid = 364;
    /**
     * groupId(将点号替换为斜杠)+nameId，仓库名称
     */
    private List<String> data;
    /*{"action":"coreui_Component","method":"deleteFolder","data":["saber-admin11","system-archinpm-npm"],"type":"rpc","tid":58}*/
    /*{"action":"coreui_Component","method":"deleteFolder","data":["com/xuelang/nw-devops-pipeline","system-archimaster-maven"],"type":"rpc","tid":43}*/


}
